home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
smashing.swf
/
scripts
/
DefineSprite_62_mcBonus
/
frame_9
/
DoAction.as
Wrap
Text File
|
2008-03-12
|
673b
|
39 lines
if(_parent._parent.gamePaused)
{
gotoAndPlay(_currentframe - 1);
}
else if(!brickSmashed)
{
readyForAction = true;
if(getTimer() < pause)
{
if(-2000 < getTimer() - pause)
{
if(flashCounter < 2)
{
bonus._visible = false;
flashCounter++;
}
else if(flashCounter < 4)
{
bonus._visible = true;
flashCounter++;
}
else
{
flashCounter = 0;
}
}
gotoAndPlay(_currentframe - 1);
}
else
{
expired = true;
play();
}
}
else
{
gotoAndPlay(10);
}